<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/MarkItUp.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Main" runat="server">

    <h2>Create Space</h2>
<script type="text/javascript">
    function SaveSpace()
    {
        $.post(
            "Create" , 
            {
                Name : $('#SpaceName').val() , 
                Description : $('#Description').val()
            },
            function(response){
                
            }
        ) ;
    }
</script>
  <label for="SpaceName" style="width:150px;"> Name of your space:</label>
    <input type="text" id="SpaceName" /> <br />
  <label for="SpaceName"> Description</label>  
    <textarea id="Description" rows="10" cols="50"> </textarea>
    <br />
    
    <a href="javascript:SaveSpace();"> Save Space </a>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">

</asp:Content>
